Investigating The Safety Of Buildings During Extreme Earthquakes